   <div class="nav_bar"><?php $breadcrumb->trail(" > " );?></div>
   <div class="main_box">
   <!--左栏开始-->
   
    <div id="mainContent_2">
    
    	<!-- 评单内容begin -->
    <div id="list-box">
        	<div class="bar">
            	<span><?php secho( $listSummary['title'] ); ?></span>
                <cite><a href="<?php echo edp_href_link(PAGENAME_USER_INFO, 'uid='.$listSummary['user_id']); ?>">
               <?php secho( $listSummary['user_name'] ); ?>
                </a> 
               <?php echo '创建于 '.substr( $listSummary['create_time'], 0, 10 );  ?>
               <?php if($listSummary['create_time']!=$listSummary['modify_time']) echo '更新于 '.substr( $listSummary['modify_time'], 0, 10 );?></cite>
        </div>
      <div class="box">
			<div id="content-detail"><?php secho( $listSummary['description'] ); ?> <span>(全部 <?php echo $listSummary['c2c_count']; ?> 家店铺，<?php echo $listSummary['b2c_count']; ?> 家商城，<?php echo $listSummary['product_count']; ?> 件商品)</span></div>
                <div id="tags"><span>标签：</span>
                <?php 
				  if(isset($listSummary['tags'])){
				      $tagArr =  explode(" ", trim($listSummary['tags']));            	
				      foreach($tagArr as $key=>$value){
				        echo '<a href ="'.edp_href_link(PAGENAME_LIST_SUMMARY,'t='.$value). '">'.$value.'</a>';
				    }
				  } 
				?>                    
                </div>
                             
                
              <div class="comment_action">
                  <ul class="comment_btns">
                      <li class="comment_report"><a href="###" onclick="popupReportWindow('3','<?php echo $lid; ?>')"></a></li>
                      <li class="comment_collect"><a href="###" onclick="popupCollectList('<?php echo $lid; ?>')"></a></li>
                      <li class="comment_flower"><a id="Flower<?php echo $lid;?>" onclick="popupFlowerWindow('list','<?php echo $lid; ?>')"  href="###"></a><?php if(intval($listSummary['flower_count'])>0) echo '<span id="Flower'.$lid.'" >('.$listSummary['flower_count'].')</span>'; ?></li>
                      <li class="comment_egg"><a id="Egg<?php echo $lid;?>" onclick="popupEggWindow('list','<?php echo $lid; ?>')"  href="###"></a><?php if(intval($listSummary['egg_count'])>0) echo '<span id="Egg'.$lid.'" >('.$listSummary['egg_count'].')</span>'; ?></li>                  

                  </ul>
                  <div style="clear:both"></div>
              </div>


      </div>
            <div class="btm"></div>
      </div>
    	<!-- 评单内容end -->
        
                            
    	<!-- 推荐条目begin -->
	<div id="list-items">
        	<div class="bar">该评单内有<?php echo $listSummary['total'] ?>个推荐条目 &nbsp;| &nbsp;                     
        		<?php 
		            if($listSummary['user_id']==$logid){
		         ?>                   	 
		              <a href="<?php echo edp_href_link(PAGENAME_USER_LIST_CREATE, 'lid='.$lid); ?>">修改评单</a>
		         <?php     
					} 
		         ?>	</div>  


		<?php
			$entryCount = 1;
			foreach( $entries as $k => $entry ){
		?>
		
		  <div class="list-item">
		        <div class="list-item-box">
		        
		        <?php if( $entry['entry_type'] == 3 ){ ?>
           			              			   
           			  <a href="<?php echo edp_href_link(PAGENAME_PRODUCT_INFO, 'pid='.$entry['entry_id']); ?>">
						<img class="p2-pic" src="<?php echo $entry['pic_path']; ?>"></img>
						</a>
           			  <div class="list_name"><?php echo $entryCount; ?>, 
						  <a href="<?php echo edp_href_link(PAGENAME_PRODUCT_INFO, 'pid='.$entry['entry_id']); ?>">
					         <?php secho( $entry['product_name'] ); ?></a>
					  </div>
					  <div class="list_name_t">
					  	 <span>类型：商品 </span>
						 <span>来自: <?php secho( $entry['shop_name'] ); ?> (<?php echo $shopDAO->GetShopPlatform($entry['plat_id']); ?>)</span>
					  </div>		                   			   
           			   
           		<?php }else{?>	   
					 <?php  if( $entry['entry_type'] == 1 ){ ?>
					 
                     	 <a href="<?php echo edp_href_link(PAGENAME_SHOP_INFO, 'sid='.$entry['entry_id']); ?>">                  	
                         	<img class="p-pic" src="<?php echo $entry['pic_path']; ?>"></img>
                          </a> 
                         <?php }else{?>
                         <span class="p3-pic">
                         <a href="<?php echo edp_href_link(PAGENAME_SHOP_INFO, 'sid='.$entry['entry_id']); ?>">                  	                     
                         	<img  src="<?php echo $entry['pic_path']; ?>"></img>
                         </a> 
                         </span>
                         <?php }?>
                        
           			  <div class="list_name">
           			    <?php echo $entryCount; ?>, 
           			   <a href="<?php echo edp_href_link(PAGENAME_SHOP_INFO, 'sid='.$entry['entry_id']); ?>">
           			     <?php secho( $entry['shop_name'] ); ?>
           			   </a>
           			   <?php if( $entry['entry_type'] == 1){?>
           			   
					     <span>类型：店铺</span>
						 <span>来自：<?php echo $shopDAO->GetShopPlatform($entry['plat_id']); ?></span>
				   	  
				   	   <?php }else{ ?>			
				   	   						
                          <span>类型：商城</span>
                          
					   <?php } ?>	   			             			  
           			   </div>

					  
           		<?php }?>		   
           			   
                        <div class="shop_rank"><div class="score_box"><span class="score<?php echo getScoreClass($entry['score']); ?>" ></span></div>
                      <!--  <table border="0" cellspacing="0" cellpadding="0" class="comment_score">
                           <tr>
                              <td class="cell01">真实度</td>
                              <td class="cell02"><?php echo $entry['reality']; ?></td>
                              <td class="cell01">服务</td>
                              <td class="cell02"><?php echo $entry['service']; ?></td>
                              <td class="cell01">速度</td>
                              <td class="cell02"><?php echo $entry['velocity']; ?></td>
                              <td class="cell01">性价比</td>
                              <td class="cell02"><?php echo $entry['rate'] ; ?></td>
                            </tr>
                         </table>-->  
                         
                         <h2>宝贝真实度</h2><h3><?php echo $entry['reality']; ?></h3>    
                         <h2>服务态度</h2><h3><?php echo $entry['service']; ?></h3>    
                         <h2>发货速度</h2><h3><?php echo $entry['velocity']; ?></h3>    
                         <h2>性价比</h2><h3><?php echo $entry['rate'] ; ?></h3>                                                                                                    
                   		</div>

                        <div id="list-item-content">
                        <?php 
							
                       	 if(!edp_is_empty_string($entry['description'])){
                        
                        ?>
                        	<b>推荐理由：</b><span><?php secho( $entry['description'] ); ?> </span>
                         
                        <?php  
                             if($listSummary['user_id']==$logid){
                             	 
                               echo '<a href="###" tag="edit" >编辑</a>';
                             } 
                             
						  }else{
							
                             if($listSummary['user_id']==$logid){
                             	 
                               echo '<a href="###" tag="edit" >&gt; 添加推荐理由</a>';
                             } 
						  }
                       ?>	
                        	
                        </div>
                          <?php 
                             if($listSummary['user_id']==$logid){
                           ?>   	
							<div id= "list-edit-content" tag="edit_area" style="display:none">
								<textarea rows="5" cols="55"></textarea>
								<input type="hidden" value="<?php echo $entry['id'] ?>" tag="entry_id" />
								<input type="button" value="提交" tag="commit_edit" />
								<input type="button" value="取消" tag="cancel_edit" />
							</div>
                           <?php } ?>

                         <?php
                         /*
                           $entryRid = $listDAO->GetEntryReview(); 
                           if($entryRid){
                           	echo '<div id="adder"><a href="'.edp_href_link(PAGENAME_REVIEW_INFO, 'rid='.$entryRid).'">查看发布人点评</a></div>';
                           }*/
                         ?>   
                      	<div style="clear:both"></div>			
				
				</div>
		   </div>				
		<?php 
			$entryCount++;
		}
		?>
         
 
</div>
    
   <!-- 推荐条目end -->    
   <?php echo $pageObj->getBar(); ?>    

        
    <!-- 条目追加begin -->
	<!--  
	 <div id="list-adder">
         <ul class="comment_btns"> </ul>
     </div>
     -->
    <!-- 条目追加end -->

    	
    <div id=collectListBox style="display:none;cursor:default;" class="popup"></div>

	<div id=addErrorReportBox style="display:none;cursor:default;" class="popup"></div>

	<div id=flowerAndEggBox style="display:none;cursor:default;" class="popup"></div>